home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
kermit.columbia.edu
/
kermit.columbia.edu.tar
/
kermit.columbia.edu
/
e
/
misc.save
/
000158_PCPete@audiography.com.au_Sat Apr 5 14:51:14 2008.msg
< prev
next >
Wrap
Internet Message Format
|
2011-07-03
|
5KB
Path: reader2.panix.com!panix!newsfeed.stanford.edu!headwall.stanford.edu!newshub.sdsu.edu!nntpserver.com!zeus.nntpserver.com!61.88.178.82.MISMATCH!news1.optus.net.au!optus!newsfeeder.syd.optusnet.com.au!news.optusnet.com.au!not-for-mail
Date: Fri, 04 Apr 2008 19:53:13 +1100
From: PC Pete <PCPete@audiography.com.au>
User-Agent: Thunderbird 2.0.0.6 (Windows/20070815)
MIME-Version: 1.0
Newsgroups: comp.protocols.kermit.misc
Subject: Re: Help with CPVGEN sources : Problem found
References: <MPG.225d8d2ae0640103989680@news.optusnet.com.au> <47f49f53$0$20462$afc38c87@news.optusnet.com.au> <47f4abe0$0$13262$afc38c87@news.optusnet.com.au>
In-Reply-To: <47f4abe0$0$13262$afc38c87@news.optusnet.com.au>
Content-Type: text/plain; charset=ISO-8859-15; format=flowed
Content-Transfer-Encoding: 7bit
Lines: 82
Message-ID: <47f5ec7a$0$8090$afc38c87@news.optusnet.com.au>
NNTP-Posting-Host: 122.107.177.239
X-Trace: 1207299194 8090 122.107.177.239
Xref: panix comp.protocols.kermit.misc:15748
PC Pete wrote:
> 0E}m80 cpxtyp=cpxtyp.mac
> * sysfam set TRUE *
> * CPXCOM.MAC *
> * CPXSWT.MAC *
> * Assembling Generic KERMIT-80 *
> * CPXSYS.MAC *
> * CPXSY2.MAC *
> * CPXVDU.MAC *
> * generic CRT selected *
> M C ovlend equ $ ; End of overlay
> * sysfam set TRUE *
> * CPXCOM.MAC *
> * CPXSWT.MAC *
> * Assembling Generic KERMIT-80 *
> * CPXSYS.MAC *
> * CPXSY2.MAC *
> M 733E C ovlend EQU $
> * CPXVDU.MAC *
> * generic CRT selected *
> M 73C0 C ovlend equ $ ; End of overlay
>
> 3 Fatal error(s)
>
> 0E}
There does seem to be a logic error in the includes, and I seem to have
"fixed" the problem and the code now compiles fine, but I still can't
run it or save it as a COM image on the TurboDOS system. To run it at
all, I have to load the compiled hex images in DDT, then G, which craps
out with the same wierd error messages.
I've also compiled this on a stock CP/M 2.2 system, and I get the same
errors (multiple ovlends), and the code compiles to the same "size" -
i.e. the end of the independent code is way past 7000. However, that all
seemed to work on that system, whereas the same isn't true on the
TurboDOS system.
I've traced through the initialisation code in CPSMIT.MAC, but
unfortunately my debug is absolutely awful - I can't download or capture
the PRN file generated by M80 when compiling the cpsker code, because
the terminal emulator won't wrap, so my PRN file display has no
comments, while the "clean" source obviously has no addresses I can
match - so when I get lost, I have to get the PC from DDT, look it up in
the truncated PRN, then match that (remember, no line numbers in this
version of M80) to the "raw" asm source to get my bearings.
I'm trying a few alternatives to that nightmare, but the terminal
emulator won't capture plain ASCII, it will only download using
x/y/zmodem/kermit... which completes the circle of life. And if I use a
dedicated windows build of a serial file transfer, it doesn't work
because I still don't have x/y/z/k on the target system. Enough already.
Sorry.
The logic problem I see is that with the 'gener' and 'crt' equates set
to true, both CPXSY2.ASM and CPXVDU.ASM are included (in that order),
but ovlend is defined in both files and both lines are parsed. It looks
as though the logic to avoid duplicate definitions worked using LASM,
but obviously not many people would have been interested in testing the
L80 logic as well. I mean, what kind of loser would want to do THAT?
...oh, right, that would be mel80...:)
If it's OK with everyone, I'll see if I can sort the logic out, and post
my changes for comment. Maybe then that might find a home on the archive
site?
I realise this is 17 years too late, but it would be a shame if someone
else had to bite the same bullet.
I've also documented the changes that needed to be made to both the file
formats (M80 and L80 on both my two CPM systems (TurboDOS and MyZ80
emulator) freak out at the unix-style source) and the names (MAC instead
of ASM), and all the equates that needed to be changed/set.
I'm sorry to waste so much bandwidth on such a little issue.
Thanks to all for your wonderful ideas, it's nice to have someone more
experienced offer help, especially when you're as rusty as I am!
That was kind of like getting castrated with two bricks. Hopefully it's
getting closer now...